jQuery(document).on("pageinit", "[data-role='page'][data-pagetype='infocats']", function() {
    var page = jQuery(this);

    jQuery.getJSON(URL_ACTION_INFO_CATEGORIES, {}, function(items) {
        var list = [];

        for(var i=0, len=items.length; i<len; i++) {
            var item = "<a data-transition='slide' class='ui-btn ui-shadow' href='" + URL_VIEW_INFO_LIST + "?category=" + items[i].id + "'>" + items[i].name + "</a>";
            list.push(item);
        }
        page.find("div.con_padding").html(list.join(""));
    });
});
